import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';
import CaseOverView from '../views/CaseOverview.vue';
import DisciplineDetail from '../views/DisciplineDetail.vue';
import Discipline from '../views/Discipline.vue';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/Discipline',
      name: 'Discipline',
      component: Discipline,
    },
    {
      path: '/CaseOverView',
      name: 'CaseOverView',
      component: CaseOverView,
    },
    {
      path: '/DisciplineDetail',
      name: 'DisciplineDetail',
      component: DisciplineDetail,
    }
  ],
});

export default router;
